import 'author_basic_info.dart';

// 帖子详情信息
class UserVerifyDetail {
  final AuthorBasicInfo authorBasicInfo;
  final String createTime;
  final String content;
  final List<dynamic> files;

  UserVerifyDetail({
    this.authorBasicInfo,
    this.createTime,
    this.content,
    this.files,
  });

  factory UserVerifyDetail.init(Map<String, dynamic> json) {
    return UserVerifyDetail(
      authorBasicInfo: AuthorBasicInfo.init(json['author']),
      createTime: json['createTime'],
      content: json['content'],
      files: json['files'],
    );
  }
}

UserVerifyDetail UserVerifyDetailModel = UserVerifyDetail.init({
  "author": {
    "id": 1,
    "avatar": "http://cloud-medicine.youchen-blog.cn/avatar.jpg",
    "realname": "幽辰",
  },
  "createTime": "3个月前", // 创建时间
  "content": "内容1潇洒互心火刷新好好耍或许会啥U型话说选手下哈us后续沙河选手西安市", // 内容
  "files": [
    "http://cloud-medicine.youchen-blog.cn/103905yhee2lei72malhbb.png",
    "http://cloud-medicine.youchen-blog.cn/timg.jpg",
    "http://cloud-medicine.youchen-blog.cn/tim.jpg",
    "http://cloud-medicine.youchen-blog.cn/1584610277262.jpg"
  ]
});
